Optimal. Leaf size=29 \[ -p q x+\frac {(e+f x) \log \left (c \left (d (e+f x)^p\right )^q\right )}{f} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 29, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.214, Rules used = {2436, 2332,
2495} \begin {gather*} \frac {(e+f x) \log \left (c \left (d (e+f x)^p\right )^q\right )}{f}-p q x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2332
Rule 2436
Rule 2495
Rubi steps
\begin {align*} \int \log \left (c \left (d (e+f x)^p\right )^q\right ) \, dx &=\text {Subst}\left (\int \log \left (c d^q (e+f x)^{p q}\right ) \, dx,c d^q (e+f x)^{p q},c \left (d (e+f x)^p\right )^q\right )\\ &=\text {Subst}\left (\frac {\text {Subst}\left (\int \log \left (c d^q x^{p q}\right ) \, dx,x,e+f x\right )}{f},c d^q (e+f x)^{p q},c \left (d (e+f x)^p\right )^q\right )\\ &=-p q x+\frac {(e+f x) \log \left (c \left (d (e+f x)^p\right )^q\right )}{f}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 29, normalized size = 1.00 \begin {gather*} -p q x+\frac {(e+f x) \log \left (c \left (d (e+f x)^p\right )^q\right )}{f} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.07, size = 41, normalized size = 1.41
method | result | size |
default | \(\ln \left (c \left (d \left (f x +e \right )^{p}\right )^{q}\right ) x -q p f \left (\frac {x}{f}-\frac {e \ln \left (f x +e \right )}{f^{2}}\right )\) | \(41\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 43, normalized size = 1.48 \begin {gather*} -f p q {\left (\frac {x}{f} - \frac {e \log \left (f x + e\right )}{f^{2}}\right )} + x \log \left (\left ({\left (f x + e\right )}^{p} d\right )^{q} c\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.35, size = 44, normalized size = 1.52 \begin {gather*} -\frac {f p q x - f q x \log \left (d\right ) - f x \log \left (c\right ) - {\left (f p q x + p q e\right )} \log \left (f x + e\right )}{f} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.22, size = 48, normalized size = 1.66 \begin {gather*} \begin {cases} \frac {e \log {\left (c \left (d \left (e + f x\right )^{p}\right )^{q} \right )}}{f} - p q x + x \log {\left (c \left (d \left (e + f x\right )^{p}\right )^{q} \right )} & \text {for}\: f \neq 0 \\x \log {\left (c \left (d e^{p}\right )^{q} \right )} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 4.06, size = 58, normalized size = 2.00 \begin {gather*} \frac {{\left (f x + e\right )} p q \log \left (f x + e\right )}{f} - \frac {{\left (f x + e\right )} p q}{f} + \frac {{\left (f x + e\right )} q \log \left (d\right )}{f} + \frac {{\left (f x + e\right )} \log \left (c\right )}{f} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.07, size = 36, normalized size = 1.24 \begin {gather*} x\,\ln \left (c\,{\left (d\,{\left (e+f\,x\right )}^p\right )}^q\right )+\frac {p\,q\,\left (e\,\ln \left (e+f\,x\right )-f\,x\right )}{f} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________